import { ObjectId } from "mongodb";
import { question } from './Question';
import { answer } from './Answer';

export interface homework {
    _id: ObjectId
    course: ObjectId
    startTime: Date
    endTime: Date
    name: string,
    status: "saved" | "published"
    questions:Array<ObjectId>
}